How To Use The Command Pattern